package com.gxa.community.core.pojo.vo.content;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gxa.community.core.pojo.dto.content.RelativeGood;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class TopicVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("专题名称")
    private String name;
    @ApiModelProperty("描述")
    private String tips;
    @ApiModelProperty("展示图片(头图)")
    private String pic;
    @ApiModelProperty("详情(文字描述, 富文本)")
    private String details;
    @ApiModelProperty("发布时间")
    private Long releaseTime;
    @ApiModelProperty("专题状态 1启用 0禁用")
    private Integer status;
    private List<RelativeGood> relativeGoods;
}
